package com.damuzee.weixin.config.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;

import org.mybatis.sql.BaseBean;
import org.mybatis.sql.annotation.BaseResultMap;

import com.damuzee.weixin.config.persistence.AuthConfigMapper;

/**
 * auto generator
 * 
 * @auth karka.w
 */
 
@Table(name = "wx_auth_config")
@BaseResultMap(name=AuthConfigMapper.class)
public class AuthConfig extends BaseBean implements java.io.Serializable {

    //主键
 	@Id
  	@Column(name = "id")
  	private Integer id ;                              //主键
  	
  	@Column(name = "url")
  	private String url ;                              //
  	
  	@Column(name = "token")
  	private String token ;                              //
  	
  	@Column(name = "app_id")
  	private String appId ;                              //
  	
  	@Column(name = "app_secret")
  	private String appSecret ;                              //
  	

    //构造函数
    public AuthConfig(){}

    public AuthConfig( Integer id    ){
        this.id = id;
    }

    public AuthConfig( Integer id, String url, String token, String appId, String appSecret){
        this.id = id;
        this.url = url;
        this.token = token;
        this.appId = appId;
        this.appSecret = appSecret;
    }

    //getter和setter方法
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

}